import instance from '@/utils/request';
//显示
export function getSmartGarbageCanData(data) {
    return instance.request({
        url:"/api/SmartGarbageCan/GetSmartGarbageCan",
        method: "get",
        data
    })
}

//添加
export function addSmartGarbageCanData(data) {
    return instance.request({
        url:"/api/SmartGarbageCan/PostAddSmartGarbageCan",
        method: "post",
        data
    })
}
//删除
export function deleteSmartGarbageCanData(data) {
    return instance.request({
        url:"/api/SmartGarbageCan/DeleteSmartGarbageCan",
        method: "delete",
        data
    })
}
//修改
export function updateSmartGarbageCanData(data) {
    return instance.request({
        url:"/api/SmartGarbageCan/PutUpdateSmartGarbageCan",
        method: "put",
        data
    })
}